<?php
/**
 * Model domeny
 * @author Tomas Srna
 * @package bakalarka
 */

class DomainModel extends Model
{
	protected function __construct()
	{
		$this->_table = 'domain';
		$this->_fields = array(
			new Field('id', 'int', true, false, NULL, true),
			new Field('name', 'varchar(100)'),
			new Field('active', 'tinyint(1)'),
		);
	}
}
